package onlinejudge.vo;

public class SolutionVo {

	private int solutionId;
	private int userId;
	private String userName;
	private String userImg;
	private int problemId;
	private String problemTitle;
	private String solutionContent;
	private String code;
	private String solutionDate;
	private int solutionViewCount;
	
	public SolutionVo() {
		super();
	}
	public SolutionVo(int solutionId, int userId, String userName, String userImg, int problemId, String problemTitle,
                      String solutionContent, String code, String solutionDate, int solutionViewCount) {
		super();
		this.solutionId = solutionId;
		this.userId = userId;
		this.userName = userName;
		this.userImg = userImg;
		this.problemId = problemId;
		this.problemTitle = problemTitle;
		this.solutionContent = solutionContent;
		this.code = code;
		this.solutionDate = solutionDate;
		this.solutionViewCount = solutionViewCount;
	}

	public int getSolutionId() {
		return solutionId;
	}
	public void setSolutionId(int solutionId) {
		this.solutionId = solutionId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserImg() {
		return userImg;
	}
	public void setUserImg(String userImg) {
		this.userImg = userImg;
	}
	public int getProblemId() {
		return problemId;
	}
	public void setProblemId(int problemId) {
		this.problemId = problemId;
	}
	public String getProblemTitle() {
		return problemTitle;
	}
	public void setProblemTitle(String problemTitle) {
		this.problemTitle = problemTitle;
	}
	public String getSolutionContent() {
		return solutionContent;
	}
	public void setSolutionContent(String solutionContent) {
		this.solutionContent = solutionContent;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getSolutionDate() {
		return solutionDate;
	}
	public void setSolutionDate(String solutionDate) {
		this.solutionDate = solutionDate;
	}
	public int getSolutionViewCount() {
		return solutionViewCount;
	}
	public void setSolutionViewCount(int solutionViewCount) {
		this.solutionViewCount = solutionViewCount;
	}
	@Override
	public String toString() {
		return "SolutionVo [solutionId=" + solutionId + ", userId=" + userId + ", userName=" + userName + ", userImg="
				+ userImg + ", problemId=" + problemId + ", problemTitle=" + problemTitle + ", solutionContent="
				+ solutionContent + ", code=" + code + ", solutionDate=" + solutionDate + ", solutionViewCount="
				+ solutionViewCount + "]";
	}
}
